package com.baiyue.service;

import com.baiyue.entity.ProductCategory;
import com.baiyue.model.SelectOptionsResult;
import com.baiyue.model.productCategory.ProductCategoryDataRequest;
import com.baiyue.model.productCategory.ProductCategoryDataResponse;
import com.baiyue.model.productInfo.ProductInfoDataRequest;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 *
 * @author 伍波
 * @date 2024-06-16
 */
public interface ProductCategoryService {
    void insert(ProductCategoryDataRequest request);

    List<SelectOptionsResult> getSelectOptions();

    Boolean deleteCategoryByIds(ProductCategoryDataRequest request);

    void updateCategory(ProductCategoryDataRequest request);

    Page<ProductCategoryDataResponse> findByPage(ProductCategoryDataRequest request);
}
